Skip to content

stream: fix nested compose error propagation#62556

Open
mcollina wants to merge 2 commits intonodejs:mainfrom
mcollina:fix-compose-60083
Open

stream: fix nested compose error propagation#62556
mcollina wants to merge 2 commits intonodejs:mainfrom
mcollina:fix-compose-60083

Conversation

@mcollina
Copy link
Copy Markdown
Member

@mcollina mcollina commented Apr 2, 2026

Fixes: #60083

@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/streams

@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. stream Issues and PRs related to the stream subsystem. labels Apr 2, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.79%. Comparing base (449a93a) to head (efff997).
⚠️ Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #62556      +/-   ##
==========================================
+ Coverage   89.78%   89.79%   +0.01%     
==========================================
  Files         697      697              
  Lines      215749   215770      +21     
  Branches    41294    41298       +4     
==========================================
+ Hits       193705   193748      +43     
+ Misses      14124    14119       -5     
+ Partials     7920     7903      -17     
Files with missing lines Coverage Δ
lib/internal/streams/duplexify.js 96.91% <100.00%> (+0.34%) ⬆️
lib/internal/streams/from.js 86.75% <100.00%> (+1.18%) ⬆️

... and 30 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mcollina mcollina force-pushed the fix-compose-60083 branch from 32916e9 to 608b639 Compare April 6, 2026 07:20
mcollina added a commit to mcollina/node that referenced this pull request Apr 6, 2026
Add eslint-disable-line require-yield for generator that intentionally
doesn't yield (throws error instead).

Add __proto__: null in duplexify.js object literal as suggested by
reviewer.
mcollina added a commit to mcollina/node that referenced this pull request Apr 6, 2026
Add eslint-disable-line require-yield for generator that intentionally
doesn't yield (throws error instead).

Add __proto__: null in duplexify.js object literal as suggested by
reviewer.

Use yield* source instead of for-await loop in second transform.
@mcollina mcollina force-pushed the fix-compose-60083 branch from 8c64fb7 to 8f4657c Compare April 6, 2026 09:58
mcollina added 2 commits April 6, 2026 21:52
Add eslint-disable-line require-yield for generator that intentionally
doesn't yield (throws error instead).

Add __proto__: null in duplexify.js object literal as suggested by
reviewer.

Use yield* source instead of for-await loop in second transform.
@mcollina mcollina force-pushed the fix-compose-60083 branch from 8f4657c to efff997 Compare April 6, 2026 21:52
@mcollina
Copy link
Copy Markdown
Member Author

mcollina commented Apr 7, 2026

@benjamingr @aduh95 ptal

@mcollina mcollina added request-ci Add this label to start a Jenkins CI on a PR. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. labels Apr 7, 2026
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Apr 7, 2026
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

@mcollina mcollina added the commit-queue Add this label to land a pull request using GitHub Actions. label Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

commit-queue Add this label to land a pull request using GitHub Actions. commit-queue-squash Add this label to instruct the Commit Queue to squash all the PR commits into the first one. needs-ci PRs that need a full CI run. stream Issues and PRs related to the stream subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Errors in composed streams hang since Node 22.5

6 participants